/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.asset.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 资产信息管理
 *
 * @author liyue
 * @date 2021-11-23 09:26:11
 */
@Data
@TableName("fy_asset_assetupdate")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = " 资产信息管理")
public class AssetAssetUpdate extends Model<AssetAssetUpdate> {

	@TableId
	@ApiModelProperty("主键Id")
	private Long id;

	@ApiModelProperty("租户ID")
	private Integer tenantId;

	@TableField(
			fill = FieldFill.INSERT
	)
	@ApiModelProperty("单位、部门ID")
	private Long deptId;

	@TableField(
			fill = FieldFill.INSERT
	)
	@ApiModelProperty("部门全名称")
	private String deptFullname;

	@TableField(
			fill = FieldFill.INSERT
	)
	@ApiModelProperty("创建人")
	private String createBy;

	@TableField(
			fill = FieldFill.INSERT
	)
	@ApiModelProperty("创建人ID")
	private Long createId;

	@TableField(
			fill = FieldFill.INSERT
	)
	@ApiModelProperty("创建时间")
	private LocalDateTime createTime;

	@TableLogic
	@ApiModelProperty("删除标记,1:已删除,0:正常")
	private String delFlag;

	/**
	 * 所属资产ID
	 */
	@ApiModelProperty(value = "所属资产ID")
	private Long assetId;

	/**
	 * 所属资产名称
	 */
	@ApiModelProperty(value = "所属资产名称")
	private String assetName;

	/**
	 * 所属资产编号
	 */
	@ApiModelProperty(value = "所属资产编号")
	private String assetNumber;

	/**
	 * 修改描述
	 */
	@ApiModelProperty(value = "修改描述")
	private String description;

}
